import {
	http
} from '@/external/service/service.js'
import configService from '@/external/service/config.service.js';
export const askListApi = (params) => {
	return http.post('/yjd/v1/artitle/ask', params)
}
export const searchListApi = (params) => {
	return http.post('/yjd/v1/artitle/search', params)
}
export const commentListApi = (params) => {
	return http.post('/yjd/v1/artitle/comment/ask', params)
}
export const commentCreateApi = (params) => {
	return http.post('/yjd/v1/artitle/comment/create', params)
}
export const praiseApi = (params) => {
	return http.post('/yjd/v1/artitle/comment/praise', params)
}

// 潮汕-点赞
export const chaoshanPraiseApi = async(params) => {
	let res =await http.post('/yjd/v1/artitle/praise', params)
	return res.data
}